package com.example.designpattern.decorator;

public class ProgrammerDecoratorMybatis extends Decorator {

    private final Person person;

    public ProgrammerDecoratorMybatis(Person person){
        this.person=person;
    }
    @Override
    public void know() {
        person.know();
        System.out.println("了解Mybatis");
    }

}
